package pers.sen.health.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.transaction.annotation.Transactional;
import pers.sen.health.mapper.RoleMapper;
import pers.sen.health.po.Permission;
import pers.sen.health.po.Role;
import pers.sen.health.service.RoleService;

import java.util.Set;

/**
 * @author Jason
 * @version 1.0.0
 * @date 2020/11/13 22:22
 * @Description TODO
 */
@Service
@Transactional
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService {
    @Override
    public Set<Permission> findPermissionInfoByRId(Integer id) {
        return baseMapper.findPermissionInfoByRId(id);
    }
}
